function [SimpleMusic] = SimpleMusicSig(TimeAxis)
Fs=8000;
 Ts=1/Fs;
 t=0:Ts:0.3;
 
 % % making the notes:
 F_A = 440; %Frequency of note A is 440 Hz
 F_B = 493.88;
 F_C = 554.37; %F_Csharp
 F_D = 587.33;
 F_E = 659.26;
 F_F = 739.9; %F_Fsharp
 F_G = 830;
 F_Ahigh = 890;
 notes = [F_A ; F_B; F_C; F_D; F_E; F_F; F_G; F_Ahigh];
 
 % making the signal
 x = cos(2*pi*notes*t); 
 sig = reshape(x',1,length(notes)*length(t));
 
 % upsample the signal
 SimpleMusic=upsample(sig,ceil(length(TimeAxis)/length(sig)));
 SimpleMusic = SimpleMusic(1:length(TimeAxis));
 soundsc(sig,1/Ts);


% % Fs=8000;
% %  Ts=1/Fs;
% %  t=0:Ts:0.3;
% Ts=TimeAxis(2)-TimeAxis(1);
% %  t=0:Ts:0.3;
% 
% % making the notes:
% F_A = 440; %Frequency of note A is 440 Hz
%  F_B = 493.88;
%  F_C = 554.37; %F_Csharp
%  F_D = 587.33;
%  F_E = 659.26;
%  F_F = 739.9; %F_Fsharp
%  F_G = 830;
%  F_Ahigh = 890;
%  notes = [F_A ; F_B; F_C; F_D; F_E; F_F; F_G; F_Ahigh];
% % scaling times to each note - equaly 
% t=linspace(0,0.3,ceil(length(TimeAxis)/length(notes)));
% 
% % making the signal
%  x = cos(2*pi*notes*t); 
%  SimpleMusic = reshape(x',1,length(notes)*length(t));
%  SimpleMusic = SimpleMusic(1:length(TimeAxis));
% % soundsc(SimpleMusic,1/Ts);

